Bug 536092 – GtkEntryCompletion's popup window should set type hint
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 3 Jun 2008 02:48:37 +0000 (02:48 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 3 Jun 2008 02:48:37 +0000 (02:48 +0000)
        * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
        a type hint on the popup window to help compiz.
        Patch by Vaclav Slavik.

svn path=/trunk/; revision=20294

ChangeLog
gtk/gtkentrycompletion.c

index 5b3a86c5c773e68989c646d451481b695502a3a6..8704974a3c09975234156906b785a9d8d9f94e9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-06-02  Matthias Clasen  <mclasen@redhat.com>
+       
+       Bug 536092 – GtkEntryCompletion's popup window should set type hint
+
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
+       a type hint on the popup window to help compiz.
+       Patch by Vaclav Slavik.
+
 2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>
 
        Bug 535862 – gtk_action_create_icon can't create icons from the
index ed1d3c1fe374f79505c14b717b7ef2374f958302..2fc582ecdf397c971f6a8702f782fd4f1ff002ea 100644 (file)
@@ -505,6 +505,7 @@ gtk_entry_completion_init (GtkEntryCompletion *completion)
   /* pack it all */
   priv->popup_window = gtk_window_new (GTK_WINDOW_POPUP);
   gtk_window_set_resizable (GTK_WINDOW (priv->popup_window), FALSE);
+  gtk_window_set_type_hint(GTK_WINDOW(priv->popup_window), GDK_WINDOW_TYPE_HINT_COMBO);
   g_signal_connect (priv->popup_window, "key_press_event",
                     G_CALLBACK (gtk_entry_completion_popup_key_event),
                     completion);